package partage;

import java.rmi.Remote;
import java.rmi.RemoteException;


public interface ServiceChat extends Remote{

	public boolean connexion(clientAffichage sess, String login, String mdp) throws RemoteException;
	public void afficherMsgTest(clientAffichage usr) throws RemoteException;
	public void afficherContact(clientAffichage usr)throws RemoteException;
	public void parlerAvec(clientAffichage usr,Contact contact)throws RemoteException;
	public boolean ajouterContact(clientAffichage usr,String nomContact)throws RemoteException;
	public boolean deleteContact(clientAffichage usr,String nomContact)throws RemoteException;
	public void modifierPassword(clientAffichage usr,String mdp)throws RemoteException;
	public void modifierLogin(clientAffichage usr,String login)throws RemoteException;
}